/* 移动端专用样式 */

/* 移动端布局容器 */
.mobile-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
}

.mobile-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--mobile-header-height);
  background: var(--el-bg-color);
  border-bottom: 1px solid var(--el-border-color-lighter);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 var(--mobile-content-padding);
}

.mobile-content {
  flex: 1;
  padding-top: var(--mobile-header-height);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* 移动端页面选择器样式 */
.page-selector-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.page-selector-content {
  background: var(--el-bg-color);
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* 移动端页面标题 */
.mobile-page-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--el-text-color-primary);
  flex: 1;
  text-align: center;
}

/* 移动端卡片 */
.mobile-card {
  background: var(--el-bg-color);
  border-radius: 12px;
  padding: var(--mobile-content-padding);
  margin-bottom: var(--mobile-content-padding);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mobile-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--el-text-color-primary);
  margin-bottom: 12px;
}

/* 移动端列表 */
.mobile-list {
  background: var(--el-bg-color);
  border-radius: 12px;
  overflow: hidden;
}

.mobile-list-item {
  display: flex;
  align-items: center;
  padding: 16px var(--mobile-content-padding);
  border-bottom: 1px solid var(--el-border-color-lighter);
  transition: background-color 0.2s ease;
}

.mobile-list-item:last-child {
  border-bottom: none;
}

.mobile-list-item:active {
  background-color: var(--el-fill-color-light);
}

.mobile-list-item-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  color: var(--el-color-primary);
}

.mobile-list-item-content {
  flex: 1;
}

.mobile-list-item-title {
  font-size: 16px;
  color: var(--el-text-color-primary);
  margin-bottom: 4px;
}

.mobile-list-item-subtitle {
  font-size: 14px;
  color: var(--el-text-color-regular);
}

.mobile-list-item-arrow {
  color: var(--el-text-color-placeholder);
}

/* 移动端表单 */
.mobile-form {
  padding: var(--mobile-content-padding);
}

.mobile-form-item {
  margin-bottom: 20px;
}

.mobile-form-label {
  display: block;
  font-size: 14px;
  color: var(--el-text-color-primary);
  margin-bottom: 8px;
  font-weight: 500;
}

/* 移动端按钮组 */
.mobile-button-group {
  display: flex;
  gap: 12px;
  padding: var(--mobile-content-padding);
  background: var(--el-bg-color);
  border-top: 1px solid var(--el-border-color-lighter);
}

.mobile-button-group .el-button {
  flex: 1;
}

/* 移动端统计卡片 */
.mobile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: var(--mobile-content-padding);
}

.mobile-stats-card {
  background: var(--el-bg-color);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.mobile-stats-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--el-color-primary);
  margin-bottom: 4px;
}

.mobile-stats-label {
  font-size: 12px;
  color: var(--el-text-color-regular);
}

/* 移动端搜索栏 */
.mobile-search-bar {
  padding: var(--mobile-content-padding);
  background: var(--el-bg-color);
  border-bottom: 1px solid var(--el-border-color-lighter);
}

/* 移动端空状态 */
.mobile-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--el-text-color-placeholder);
}

.mobile-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.mobile-empty-text {
  font-size: 16px;
}

/* 移动端加载状态 */
.mobile-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* 响应式断点 */
@media (max-width: 480px) {
  .mobile-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-button-group {
    flex-direction: column;
  }
  
  .mobile-button-group .el-button {
    flex: none;
  }
}
